﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchWorkHeader.ascx.vb"
    Inherits="WebForm_SelfManageWorkHeader_SearchWorkHeader" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<table>
    <tr>
        <td align="right">
            <asp:Label ID="lblStatus" runat="server" meta:resourcekey="lblStatus"></asp:Label>
        </td>
        <td align="left">
            <asp:DropDownList ID="ddlStatus" runat="server" AutoPostBack="false">
            </asp:DropDownList>
        </td>
        <td align="left">
            <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
        </td>
    </tr>
</table>
<br />
<My:MyGridView ID="gv" runat="server" SkinID="pager" AllowHoverSelect="false" DataKeyNames="FindDirtyHeaderID"
    AllowHoverEffect="True" MySortDirection="Ascending" meta:resourcekey="gv">
    <Columns>
        <asp:BoundField DataField="RegionType" meta:resourcekey="bfRegionType" />
        <asp:BoundField DataField="Address" meta:resourcekey="bfAddress" />
        <asp:BoundField DataField="ReportDate" dataformatstring="{0:yyyy/MM/dd}" meta:resourcekey="bfReportDate" >
            <itemstyle horizontalalign="Center" />
        </asp:BoundField>
        <asp:BoundField DataField="CreateDate" meta:resourcekey="bfCreateDate" >
            <itemstyle horizontalalign="Center" />
        </asp:BoundField>
        <asp:TemplateField>        
            <ItemTemplate>
                <asp:LinkButton ID="lknEdit" CommandName="Update" runat="server" meta:resourcekey="lknEdit"></asp:LinkButton>
            
</ItemTemplate>
            <itemstyle horizontalalign="Center" />
        </asp:TemplateField>        
        <asp:TemplateField>        
            <ItemTemplate>
                <asp:LinkButton ID="lknDelete" CommandName="Delete" runat="server" meta:resourcekey="lknDelete"></asp:LinkButton>
                <ajaxToolkit:ConfirmButtonExtender ID="cbDelete" runat="server" TargetControlID="lknDelete" meta:resourcekey="cbDelete"></ajaxToolkit:ConfirmButtonExtender>
            
</ItemTemplate>
            <itemstyle horizontalalign="Center" />
        </asp:TemplateField>
    </Columns>
</My:MyGridView>
